package com.he.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.he.entity.Book;
import com.he.entity.BookCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BookMapper extends BaseMapper<Book> {

    List<BookCategory> selectBookCategoryList();

    List<Book> selectBookPage1(@Param("offset") int offset, @Param("pageSize") int pageSize);
}
